package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.BillingMethodEnum;

/**
*@version 创建时间：2016年10月31日 上午9:40:28
*@author NTBK-021-1006
*类说明
*/

@Entity
@Table(name = "FIN_PRODUCT_INTEREST_ITEM")
public class FinanceProductInterestItemEntity {
	
	/** 计息项目ID */
	@Id
	@GeneratedValue
	@Column(name = "FINANCE_PRODUCT_INTEREST_ITEM_ID")
	private Long financeProductInterestItemId;
	
	/** 计息项目名称 */
	@Column(name = "FINANCE_PRODUCT_INTEREST_ITEM_NAME")
	private String financeProductInterestItemName;
	
	/** 产品ID */
	@Column(name = "FIN_PRODUCT_ID")
	private Long financeProductId;
	
	/** 起始天数 */
	@Column(name = "START_DAY")
	private Integer startDay;
	
	/** 截止天数 */
	@Column(name = "END_DAY")
	private Integer endDay;
	
	/** 数值 */
	@Column(name = "AMOUNT")
	private BigDecimal amout;
	
	/** 计费方式 */
	@Column(name = "BILLING_METHOD")
	private BillingMethodEnum billingMethod;

	public Long getFinanceProductInterestItemId() {
		return financeProductInterestItemId;
	}

	public void setFinanceProductInterestItemId(Long financeProductInterestItemId) {
		this.financeProductInterestItemId = financeProductInterestItemId;
	}

	public String getFinanceProductInterestItemName() {
		return financeProductInterestItemName;
	}

	public void setFinanceProductInterestItemName(String financeProductInterestItemName) {
		this.financeProductInterestItemName = financeProductInterestItemName;
	}

	public Long getFinanceProductId() {
		return financeProductId;
	}

	public void setFinanceProductId(Long financeProductId) {
		this.financeProductId = financeProductId;
	}


	public Integer getStartDay() {
		return startDay;
	}

	public void setStartDay(Integer startDay) {
		this.startDay = startDay;
	}

	public Integer getEndDay() {
		return endDay;
	}

	public void setEndDay(Integer endDay) {
		this.endDay = endDay;
	}

	public BigDecimal getAmout() {
		return amout;
	}

	public void setAmout(BigDecimal amout) {
		this.amout = amout;
	}

	public BillingMethodEnum getBillingMethod() {
		return billingMethod;
	}

	public void setBillingMethod(BillingMethodEnum billingMethod) {
		this.billingMethod = billingMethod;
	}
}